package HomeWork.ooday02;

public class ZooDemo {
    public static void main(String[] args) {
        Dog d=new Dog("小黑","白色",15);
        d.eat();
        d.drink();
        d.lookHouse();
        System.out.println();

        Chicken c=new Chicken("小黄","黄色",1);
        c.eat();
        c.drink();
        c.layEggs();
        System.out.println();

        Fish f=new Fish("小绿","绿色",5);
        f.eat();
        f.drink();
        System.out.println();
    }
}
